package com.dayuan.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class StringTime {
	public static String gettime(Date date) {		
		SimpleDateFormat sd = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		String time = sd.format(date);
		return time;
	}
}
